package top.ljlgithub.service;

import top.ljlgithub.domain.PageBean;
import top.ljlgithub.domain.PageConditionSql;
import top.ljlgithub.domain.User;
import top.ljlgithub.vo.LoginParam;
import top.ljlgithub.vo.PageParam;

public interface AdminService {
    int checkAdmin(LoginParam admin);
    int addUser(User user);
    int updateUser(User user);
    User findUserById(int id);
    int removeUser(int id);
    int removeUsers(int[] ids);
    PageBean<User> getUserByPage(PageParam pageParam);
    PageBean<User> getUserByPage(PageConditionSql pageConditionSql);
}
